package com.jy.wms.web;

import com.jy.wms.common.base.Model;
import com.jy.wms.service.WmsLpnService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;

/**
 * Created by syh on 2018/7/11.
 */
@Controller
@RequestMapping("/lpnRouter")
public class WmsLpnRouter {
    @Autowired
    WmsLpnService wmsLpnService;
    /**
     * 跳转查询列表页
     * @param model
     * @param session
     * @return
     */
    @RequestMapping(value = "getLpnList")
    public String getLpnList(Model model, HttpSession session){
        return  "wmsLpn/listLpn";
    }

    /**
     * 跳转添加生成页面
     * @param model
     * @param session
     * @return
     */
    @RequestMapping(value = "toAddLpn")
    public String toAddLpn(Model model, HttpSession session){
        return  "wmsLpn/addLpn";
    }
}